<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var a = 'a';
        var b = 'b';
        console.log(a + '666' + b);
        console.log(`${ a }666${ b }`);
        var age = 30;
        console.log(`pink老师${ age }岁喽`);

        var age = prompt('请输入你的年龄');
        alert(`您今年${age}岁了`);
    </script>
</body>
</html>